//
//  HX_CollectionLayout.h
//  UI15-网易新闻
//
//  Created by 韩旭 on 16/8/3.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HX_CollectionLayoutDelegate <NSObject>
- (CGFloat)collectionView:(UICollectionView *)collectionView

                  layout:(UICollectionViewLayout *)collectionViewLayout
                   width:(CGFloat)width
  sizeForItemAtIndexPath:(NSIndexPath *)indexPath;

@end
@interface HX_CollectionLayout : UICollectionViewLayout
@property (nonatomic, weak) id<HX_CollectionLayoutDelegate>delegate;
@end
